#התוכנית הזאת עושה 
MyScore = 0
while MyScore < 3:

    import random

    a = random.randint(1, 5)
    ComputerCard = random.randint(1, 11)

    MyScore = 0
    ComputerScore = 0

    if a == 1:
        print('1,2,3')

    if a == 2:
        print('3,4,5')

    if a == 3:
        print('5,6,7')

    if a == 4:
        print('7,8,9')

    if a == 5:
        print('9,10,11')
        MySecondCards = input()
        MySecondCards=int(MySecondCards)

    if ComputerCard < MySecondCards:
        MyScore = MyScore+1

    if MySecondCards < ComputerCard:
        ComputerScore = ComputerScore+1

    if ComputerScore == 3:
        print('you lose')
        break

print ('you win')
        
